<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Insert title here</title>
    <link rel="stylesheet" type="text/css" th:href="@{/login/css/normalize.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/login/css/htmleaf-demo.css}"/>
</head>
<body>
<h1>I am using spring boot</h1>
<h2>Add New User</h2>
<div>
    <form th:action="@{/teacher/addUser}" method="post">
        <label> <input type="text" name="username" id="username" /></label>
        <label> <input type="password" name="password" id="password" /></label>
        <input type="submit" value="add"/>
    </form>
</div>

<hr></hr>

<!--<h2> User List</h2>-->
<!--<p>id: <span th:text="${user.id}"></span> </p>-->
<!--<p>name: <span th:text="${user.name}"></span> </p>-->
<!--<p>email: <span th:text="${user.email}"></span> </p>-->
</body>

<script th:src="@{/js/jquery-3.0.0.min.js}"></script>
</html>